package com.qqcy.securityservice.controller;

import com.qqcy.loginservice.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * DATE: 2022/1/9
 * Author: huhuan
 */
@RestController
@FeignClient(value = "login-service")
public interface LoginClient {

    @RequestMapping("/login")
    String login(@RequestParam("user") User user);
}
